#include <stdio.h>
#include <stdlib.h>
#include <string.h>
int main(int argc,char* argv[],char* env[])
{
    if(argc!=2)
    {
        printf("arg error\n");
        exit(1);
    }

    FILE* pf=fopen(argv[1],"r");

    char buf[128];
    memset(buf,'\0',sizeof(buf));

    while(fread(buf,sizeof(buf)-1,1,pf)!=0)
    {
        printf("%s\n",buf);
    }

    fclose(pf);
    pf=NULL;

    return 0;
}
